package com.xiaoxx.service;

import com.xiaoxx.model.dto.chat.ChatApiKeyDto;
import com.xiaoxx.model.entity.chat.ChatApikey;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoxx.model.vo.chat.ChatApiKeyVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HX
 * @since 2024-05-17
 */
public interface ChatApikeyService extends IService<ChatApikey> {

    /**
     * 新增Apikey
     * @param chatApiKeyDto
     * @return
     */
    Boolean addChatApikey(ChatApiKeyDto chatApiKeyDto);

    Boolean updChatApikey(ChatApiKeyDto chatApiKeyDto);

    List<ChatApiKeyVo> getList(Integer status);

    Boolean updStatus(String id);

    Boolean del(String id);
}
